package com.gupao.p7store.common.constant;

/**
 * Redis key
 *
 * @ClassName: RedisConstans
 * @Author dengbicheng
 * @Date 2021/12/2 20:32
 * @Version v 1.0
 */
public class RedisConstans {
    /**
     * 制品库锁
     */
    public static  final String USER_POST_LIKE_LOCK = "artifact_refresh_lock";

    /**
     * 导入基线数据库锁
     * {0}  baselineId
     */
    public static final String IMPORT_BASELINE_DATABASE_LOCK = "import_baseline_database_lock:{0}";

    /**
     * 刷新前端配置模板状态
     */
    public static final String REFRESH_FRONTEND_CONFIG_APP_FILE_STATUS = "refresh_frontend_config_app_file_status:{0}";


    /**
     * ota版本升级压缩包，ossId
     */
    public static final String OTA_VERSION_UPGRADE_ZIP = "ota_version_upgrade_zip:{0}:{1}";

    /**
     * 刷新前端配置模板锁
     */
    public static final String REFRESH_FRONTEND_CONFIG_APP_FILE_LOCK = "refresh_frontend_config_app_file_lock:{0}";

    /**
     * 批量更新模板文件
     */
    public static  final String ALL_REFRESH_FRONTEND_CONFIG_APP_FILE_LOCK = "all_refresh_frontend_config_app_file_lock:{0}";

}
